package com.quanyan.pay.api.wechat.vo;

import com.quanyan.pay.enums.*;
import com.quanyan.pay.vo.WxBaseRespVo;
import com.thoughtworks.xstream.annotations.XStreamAlias;

/**
 * Created by Zheng.Ke
 * Date 2017/2/16.
 * 具体参见文档 https://pay.weixin.qq.com/wiki/doc/api/tools/mch_pay.php?chapter=14_3
 */
@XStreamAlias("xml")
public class WxGetTransferInfoRespVo extends WxBaseRespVo {
    /** 返回状态码 */
    private WxReturnCodeEnum return_code;
    /** 返回信息 */
    private String return_msg;
    /** 业务结果 */
    private WxResultCodeEnum result_code;
    /** 错误代码 */
    private String err_code;
    /** 错误代码描述 */
    private String err_code_des;
    /** 商户单号 */
    private String partner_trade_no ;
    /** 商户号 */
    private String mch_id;
    /** 付款单号 */
    private String detail_id;
    /** 转账状态 */
    private WxTransferStatusEnum status;
    /** 失败原因 */
    private String reason;
    /** 收款用户openid */
    private String openid;
    /** 收款用户姓名 */
    private String transfer_name;
    /** 付款金额(单位分) */
    private Integer payment_amount;
    /** 转账时间（如2015-04-21 20:00:00） */
    private String transfer_time;
    /** 付款描述 */
    private String desc;

    public WxReturnCodeEnum getReturn_code() {
        return return_code;
    }

    public void setReturn_code(WxReturnCodeEnum return_code) {
        this.return_code = return_code;
    }

    public String getReturn_msg() {
        return return_msg;
    }

    public void setReturn_msg(String return_msg) {
        this.return_msg = return_msg;
    }

    public WxResultCodeEnum getResult_code() {
        return result_code;
    }

    public void setResult_code(WxResultCodeEnum result_code) {
        this.result_code = result_code;
    }

    public String getErr_code() {
        return err_code;
    }

    public void setErr_code(String err_code) {
        this.err_code = err_code;
    }

    public String getErr_code_des() {
        return err_code_des;
    }

    public void setErr_code_des(String err_code_des) {
        this.err_code_des = err_code_des;
    }

    public String getPartner_trade_no() {
        return partner_trade_no;
    }

    public void setPartner_trade_no(String partner_trade_no) {
        this.partner_trade_no = partner_trade_no;
    }

    public String getMch_id() {
        return mch_id;
    }

    public void setMch_id(String mch_id) {
        this.mch_id = mch_id;
    }

    public String getDetail_id() {
        return detail_id;
    }

    public void setDetail_id(String detail_id) {
        this.detail_id = detail_id;
    }

    public WxTransferStatusEnum getStatus() {
        return status;
    }

    public void setStatus(WxTransferStatusEnum status) {
        this.status = status;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getTransfer_name() {
        return transfer_name;
    }

    public void setTransfer_name(String transfer_name) {
        this.transfer_name = transfer_name;
    }

    public Integer getPayment_amount() {
        return payment_amount;
    }

    public void setPayment_amount(Integer payment_amount) {
        this.payment_amount = payment_amount;
    }

    public String getTransfer_time() {
        return transfer_time;
    }

    public void setTransfer_time(String transfer_time) {
        this.transfer_time = transfer_time;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
